package com.bjsxt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bjsxt.domain.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
    /**
* @date:2022/1/3 10:01
* @author:yang
*/
public interface SysUserService extends IService<SysUser>{

        /**
         * 分页查询员工
         * @param page
         * @param mobile
         * @param fullname
         * @return
         */
        Page<SysUser> findByPage(Page<SysUser> page, String mobile, String fullname);

        /**
         * 新增员工
         * @param sysUser
         * @return
         */
        boolean addUser(SysUser sysUser);
    }
